<%--
  Created by IntelliJ IDEA.
  User: yang
  Date: 7/20/20
  Time: 19:54
  To change this template use File | Settings | File Templates.
--%>
<%@page contentType="text/html; charset=UTF-8" language="java" errorPage="error.jsp" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>添加一个</title>
</head>
<body>
<c:if test="${user != true}">
    <%--  没有登陆，转发到登陆页面   --%>
    <c:redirect url="/jsp/login.jsp"/>
</c:if>

<h2 align="center"><a href="${theProjectName}/jsp/home.jsp">
    ${requestScope.get("isAdd")==true?"添加成功！":"添加失败！"} 返回主页

</a></h2>

</body>
</html>
